<?php

namespace backend\assets;

use yii\web\AssetBundle;

/**
 * Main frontend application asset bundle.
 */
class WechatAppset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web/statics/library/wechat/';

    public $css = [
        'css/app.css'
    ];


    public $js = [
        'js/app/util.js',
        'js/require.js',
        'js/app/config.js',
    ];

    public $jsOptions = [
        'position' => \yii\web\View::POS_HEAD,   // 这是设置所有js放置的位置
    ];

    public $depends = [
        "backend\assets\AppAsset"
    ];
}
